package org.gulugulubiao.service.Impl;

import lombok.extern.slf4j.Slf4j;
import org.gulugulubiao.mapper.AnsRecordMapper;
import org.gulugulubiao.service.AnsRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class AnsRecordServiceImpl implements AnsRecordService {
    @Autowired
    private AnsRecordMapper ansRecordMapper;

    /**
     * 更新答题记录
     * @param problemId
     * @param status
     * @return
     */
    @Override
    public void update(Integer problemId, Integer status,String ansRecordTableName) {

        ansRecordMapper.update(problemId,status,ansRecordTableName);
    }
}
